package com.itheima_01.day07.BiZuoZuoYe_02;

public class Test {
    public static void main(String[] args) {
        Manager man=new Manager();
        Coder coder=new Coder();
        man.setName("一龙");
        man.setId(123);
        man.setSalary(15000);
        man.setBonus(6000);

        coder.setId(135);
        coder.setName("程序员");
        coder.setSalary(10000);

        man.work();
        coder.work();
    }
}
